package com.yunhe.policyfulfillment.policyful.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @ClassName PolicyAuditProcessVo
 * @Description TODO
 * @Author HeTao
 * @Date 2021/8/25 9:20
 * @Version 1.0
 **/
@Data
@ApiModel("审批流程")
public class PolicyAuditProcessVo implements Serializable {

    private static final long serialVersionUID = 6716248096078483554L;

    /**
     * 流程id
     */
    @ApiModelProperty("流程id")
    private int id;

    /**
     * 企业申请政策id
     */
    @ApiModelProperty("企业申请政策id")
    private long applyMatterId;

    /**
     * 当前审批流程节点
     */
    @ApiModelProperty("当前审批流程节点")
    private String currentProcessNode;

    @ApiModelProperty("当前节点状态")
    private String currentAuditStatus;

    /**
     * 当前节点审批人
     */
    @ApiModelProperty("当前节点审批人")
    private long approvePerson;

    @ApiModelProperty("当前节点审批人名称")
    private String approvePersonName;

    /**
     * 当前节点审批时间
     */
    @ApiModelProperty("当前节点审批时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss" )
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date approveTime;

    /**
     * 当前审批节点建议
     */
    @ApiModelProperty("当前审批节点建议")
    private String approveSuggestion;

    /**
     * 建议建立金额
     */
    @ApiModelProperty("建议建立金额")
    private long suggestedAmount;

}
